<%--
  author: fuxueHu
  description: 面试管理页面
--%>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" import="java.util.*"
         isELIgnored="false" %>
<%@ taglib prefix="rapid" uri="http://www.rapid-framework.org.cn/rapid" %>

<rapid:override name="title">应聘管理</rapid:override>
<rapid:override name="head_extend">

    <link href="/static/admin_v1/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="/static/admin_v1/css/addTable.css" rel="stylesheet"/>
</rapid:override>

<rapid:override name="content">
    <div class="row" style="height: 100%">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>面试信息管理</h5>
                    <div class="ibox-tools">
                        <button id="addButton" type="button" class="btn btn-w-m btn-success">邀请面试</button>
                    </div>
                </div>
                <div id="modal" class="modal">
                    <div class="modal-content">
                        <span class="close">&times;</span>
                        <h2 id="h0">招聘信息</h2>
                        <div class="ibox-content">
                            <form class="form-horizontal" id="dataForm">
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">候选人：</label>
                                    <div class="col-sm-8">
                                        <input type="text" name="title" placeholder="标题" class="form-control">
                                        <span class="help-block m-b-none">请输入招聘标题名</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">面试官：</label>
                                    <div class="col-sm-8">
                                        <input type="text" name="needPeople" placeholder="招聘人数" class="form-control">
                                        <span class="help-block m-b-none">请输入招聘人数</span>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label">日期：</label>
                                    <div class="col-sm-8">
                                        <input id="hello" class="laydate-icon form-control layer-date">
                                    </div>
                                </div>


                                <div class="form-group">
                                    <div class="col-sm-offset-3 col-sm-8">
                                        <button class="btn btn-sm btn-info" type="submit">发 布</button>
                                    </div>
                                </div>
                                <button type="button" class="close">取消</button>
                            </form>
                        </div>
                    </div>
                </div>

                <div class="ibox-content">
                    <div class="row">

                        <div class="col-sm-7 m-b-xs">
                            <div data-toggle="buttons" class="btn-group">
                                <label class="btn btn-sm btn-white">
                                    <input type="radio" id="option1" name="options">待安排</label>
                                <label class="btn btn-sm btn-white active">
                                    <input type="radio" id="option2" name="options">已安排</label>
                                <label class="btn btn-sm btn-white">
                                    <input type="radio" id="option3" name="options">已评价</label>
                                <label class="btn btn-sm btn-white">
                                    <input type="radio" id="option4" name="options">已完成</label>
                            </div>
                        </div>
                        <div class="col-sm-5">
                            <div class="input-group">
                                <input type="text" placeholder="请输入关键词" class="input-sm form-control"> <span
                                    class="input-group-btn">
                                        <button type="button" class="btn btn-sm btn-primary"> 搜索</button> </span>
                            </div>
                        </div>
                    </div>
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>

                                <th><input type="checkbox"></th>
                                <th>面试Id</th>
                                <th>候选人</th>
                                <th>邀请人</th>
                                <th>面试时间</th>
                                <th>面试官</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>007</td>
                                <td>fuxue</td>
                                <td>小熊</td>
                                <td>2025-3-3</td>
                                <td>顺哥</td>
                                <td>已安排</td>
                                <td><a href="table_basic.html#"><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span></a>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>007</td>
                                <td>fuxue</td>
                                <td>小熊</td>
                                <td>2025-3-3</td>
                                <td>顺哥</td>
                                <td>已安排</td>
                                <td><a href="table_basic.html#"><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span></a>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-sm-1">
                        <span class="glyphicon glyphicon-folder-close" aria-hidden="true"></span>
                    </div>

                    <div class="col-sm-1">
                        <div class="input-group m-b">
                            <div class="input-group-btn">
                                <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button" aria-expanded="false">容量<span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu">
                                    <li><a href="form_basic.html#">3</a>
                                    </li>
                                    <li><a href="form_basic.html#">5</a>
                                    </li>
                                    <li><a href="form_basic.html#">10</a>
                                    </li>
                                </ul>
                            </div>
                        </div>

                    </div>

                    <ul id="pagination"></ul>

                </div>
            </div>
        </div>

    </div>
</rapid:override>
<rapid:override name="js_extend">
    <!-- Bootstrap table -->
    <script src="/static/admin_v1/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="/static/admin_v1/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
    <script src="/static/admin_v1/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script src="/static/admin_v1/js/bootstrap-paginator.js"></script>

    <%--    日期--%>
    <script src="/static/admin_v1/js/plugins/layer/laydate/laydate.js"></script>

    <!-- Peity -->
    <script src="/static/admin_v1/js/bootstrap-table-demo.js"></script>
    <script src="/static/admin_v1/js/date.js"></script>
    <script src="/static/admin_v1/js/addTable.js"></script>

    <script>
    $(function () {
    $('#pagination').bootstrapPaginator({
    bootstrapMajorVersion: 3,
    currentPage: ${requestScope.pageInfo.pageNum },
    totalPages: ${requestScope.pageInfo.pages },
    pageUrl: function (type, page, current) {
    return '/admin/user/get.do?pageNum=' + page;
    },
    itemTexts: function (type, page, current) {
    switch (type) {
    case "first":
    return "首页";
    case "prev":
    return "上一页";
    case "next":
    return "下一页";
    case "last":
    return "末页";
    case "page":
    return page;
    }
    }
    });
    });
</rapid:override>
<%@include file="/jsp/common/admin/base.jsp" %>